package com.small.nine.wxmp.domain.bean.wx;

import com.fasterxml.jackson.annotation.JsonAlias;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 微信 access_token
 *
 * @author sheng_zs@126.com
 * @date 2021-08-03 15:59
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class WxAccessTokenBean extends WxErrorMsgBean {
    private static final long serialVersionUID = 1L;

    /**
     * token
     */
    @JsonAlias("access_token")
    private String accessToken;

    /**
     * 有效时间
     */
    @JsonAlias("expires_in")
    private Long expiresIn;
}
